Fix xapi xm-tests.
authorKeir Fraser <keir.fraser@citrix.com>
Thu, 20 Aug 2009 09:30:53 +0000 (10:30 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Thu, 20 Aug 2009 09:30:53 +0000 (10:30 +0100)
commitf0321cbffa61f08db52799a10d6d85ab59a238e0
treee2f9e8d62fd6d79fa4f33cdbf51a85d34ab781c4
parent1ef2f79d046aa91462f15e10adc4aee09f8cdec8
Fix xapi xm-tests.

There were a couple of small bugs in the xapi xm-test:
o outdated XenAPI calls were removed from testcase
  (02_xapi-vbd_basic)
o minor problem with XendLocalStorageRepository
  is fixed (missed list_images() function - which
  is moved from the XenQCoWStroageRepo to the common
  base class XendStorageRepository)
  which was detected running 02_xapi-vbd_basic.
o XenAPI session handling and connecting is fixed.
o 03_xapi-network_pos was rewritten and now uses
  XenAPI.

Signed-off-by: Andreas Florath <xen@flonatel.org>
tools/python/xen/xend/XendQCoWStorageRepo.py
tools/python/xen/xend/XendStorageRepository.py
tools/xm-test/grouptest/default
tools/xm-test/lib/XmTestLib/XenAPIDomain.py
tools/xm-test/lib/XmTestLib/XenDevice.py
tools/xm-test/lib/XmTestLib/xapi.py
tools/xm-test/runtest.sh
tools/xm-test/tests/xapi/02_xapi-vbd_basic.py
tools/xm-test/tests/xapi/03_xapi-network_pos.py